package com.project.livetv.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;
import android.widget.Toast;

import com.project.livetv.R;

public class UnLoginActivity extends BaseActivity {
    private ImageButton xl_image_btn,wx_image_btn,qq_image_btn,phone_image_btn;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_un_login);

    }

    @Override
    public void initView() {
        xl_image_btn= (ImageButton) findViewById(R.id.xl_imagebtn);
        wx_image_btn= (ImageButton) findViewById(R.id.wx_imagebtn);
        qq_image_btn= (ImageButton) findViewById(R.id.qq_imagebtn);
        phone_image_btn= (ImageButton) findViewById(R.id.phone_imagebtn);
    }

    @Override
    public void initData() {

    }

    @Override
    public void setData() {

    }

    @Override
    public void setListener() {

    }
    public void onClick(View view){
        switch (view.getId()){
            case R.id.xl_imagebtn:
                Toast.makeText(UnLoginActivity.this, "正在开发", Toast.LENGTH_SHORT).show();
                showShare();
                break;
            case R.id.wx_imagebtn:
                Toast.makeText(UnLoginActivity.this, "正在开发", Toast.LENGTH_SHORT).show();
                break;
            case R.id.qq_imagebtn:
                load();
                Toast.makeText(UnLoginActivity.this, "正在开发", Toast.LENGTH_SHORT).show();
                break;
            case R.id.phone_imagebtn:
                startActivity(new Intent(this,SMSActivity.class));
                Toast.makeText(UnLoginActivity.this, "正在开发", Toast.LENGTH_SHORT).show();
                break;
        }
    }
}
